﻿using SimpleSaas.Common.DataBase;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SimpleSaas.Entity
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	[SugarTable("sys_menu_table")]
	public class SysMenuEntity : ComplexEntity<long>
	{
		/// <summary>
		/// 菜单名称
		/// </summary>
		[SugarColumn(ColumnName = "menu_name")]
		public string MenuName { get; set; }

		/// <summary>
		///  前端路径
		/// </summary>
		[SugarColumn(ColumnName = "path")]
		public string Path { get; set; }

		/// <summary>
		///  图标
		/// </summary>
		[SugarColumn(ColumnName = "icon")]
		public string Icon { get; set; }

		/// <summary>
		///  序号
		/// </summary>
		[SugarColumn(ColumnName = "sort")]
		public int Sort { get; set; }

		/// <summary>
		///  父级菜单id
		/// </summary>
		[SugarColumn(ColumnName = "parent_id")]
		public long ParentId { get; set; }

		/// <summary>
		///  1-菜单
		///  2-按钮
		/// </summary>
		[SugarColumn(ColumnName = "menu_type")]
		public int MenuType { get; set; }

		/// <summary>
		///  企业id
		/// </summary>
		[SugarColumn(ColumnName = "app_id")]
		public long AppId { get; set; }
	}
}